package marchsoft.modules.four.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import marchsoft.base.BasicModel;
import marchsoft.modules.system.entity.Dept;

import java.util.Date;

@Data
@TableName("e_study_data")
public class StudyData extends BasicModel<StudyData> {

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "文章标题")
    private String title;

    @ApiModelProperty(value = "文章内容")
    private String content;

    @ApiModelProperty(value = "安全类别id")
    private Long safeTypeId;

    @ApiModelProperty(value = "封面图链接")
    private String coverPicLink;

    @ApiModelProperty(value = "封面视频链接")
    private String videoPath;

    @ApiModelProperty(value = "关键词")
    private String keywords;

    @ApiModelProperty(value = "学习资料格式类型(0：文字类型，1：图片类型，2：视频类型)")
    private Integer dataType;

    @ApiModelProperty(value = "学习资料来源(0:题库导入1:手动添加)")
    private Integer dataSource;

    @ApiModelProperty(value = "是否推荐(0:不推荐，1：推荐)")
    private boolean isIntroduce;

    @ApiModelProperty(value = "点赞数")
    private Integer tags;

    @ApiModelProperty(value = "踩踩数")
    private Integer dislike;

    @ApiModelProperty(value = "浏览量")
    private Integer pageView;



}
